<template>
  <div class="app-container">
    <el-tabs v-model="activeName" class="demo-tabs">
      <el-tab-pane label="物料" name="mat">
        <matTable :columns="matColumn" name="mat"></matTable>
      </el-tab-pane>
      <el-tab-pane label="产品" name="prod">
        <matTable :columns="prodColumn" name="prod"></matTable>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup name="Stock">
import matTable from "./matTable.vue";
import { matColumn, prodColumn } from "./column";
const activeName = ref("mat");
</script>
